fix untidy Polymost shutdown

In particular, pointers were being double-freed because the
PolymostTex Manager structures were being released before the MD2/3
skins were cleaned up.