fix lock_runtime when called from _LuaObject.__dealloc__. Fixes #27

`self._runtime` can be in a partially destroyed state during `_LuaObject.__dealloc__`, so `lock_lock` can receive a lock that is already destroyed, and this causes bad things to happen. Checking for this condition fixes #27 for me.