Make __luajs_push_var_ref more versatile