tlua_interpreter: add some asserts for null pointers