Peter Dinklage joins 'X-Men' cast as Bolivar Trask