If you become the target of a spell, Dormant Gomazoa's last ability triggers and is put on the stack on top of that spell. Dormant Gomazoa's last ability will resolve (allowing you to untap it) first.