Millions of years before LSD and rock and roll, dinosaurs munched on psychedelic fungus, a new study suggests.