[PATCH v2 6/8] jscript: Handle non-JS objects in Object.getPrototypeOf.