refactor LIBJ_DEBUG_OBJECT_PTR