htofix to prevent the bird from getting stuck on the perch due to bad physics

The Falconeer: Revolution Remaster · published · build 25416080

A physics reset was missing after a death, respawn would keep the bird stuck to the perch or physics entangled.

Now physics is correctly reset after death

Also some optimizations and memory leaks fixed for console port prep.