It seems like a flawed question as it assumes the existence of a god at all. We have evidence of dinosaurs via the fossil record, however there isn't evidence of any gods existing.
One reason why god is depicted as being in the form of human is that god is a concept created humans.
RE: Who came first God or Dinosaurs ?