Fixes 2 runtimes

Related to #6351

Fixes antag hud runtime due to checking the mind before transferring it.
Fixes floorbot runtime due to typecasting with no sanity checks.

I still have no idea what's up with the wall/plating try_destroy() runtime. Can't reproduce it, at all.