EMI: Animation performance optimization

Some quick performance optimizations for animation. For me FPS is doubled in the scumm bar set (tested with OpenGL and frame limiter disabled).
It isn't necessary to check for null before delete-ing. delete NULL; is defined as a noop.