Crews rescue trapped dog from hood of car