add glue API of JS_GetReservedSlot (ABI Incompatibility Problem)