disable libxinitthread build
use mutex to protect handle storage arrays
handle-storage: implement locking on handles
handle_expunge unlocks mutex too
drop previous mutex from VdpOutputSurfaceData struct
implement acquire-release handle logic
fix use-after-free in some *Destroy functions

handle_expunge touches mutex thus must be called before memory deallocation