Fix misc warnings in animation_tiles.cpp

Mostly only minor warnings here.