implement WF_COVERANIMS support

Fixes rendering of the lit torches in BG2 AR3017.
take the anim zpos into account when building the sprite cover

This faithfully reproduces original rendering errors with the water
spouts in BG2 AR2300 and therefore looks like the right thing to do.