The Barbie actor consulted with an iconic filmmaker about dinosaurs before making a wild quip at the award show.