update types for js188

For esr17, mozilla have removed many of the custom typedefs and
replaced them with standard types. For example jsuint -> guint32,
uintN -> unsigned and int32 -> int32_t.
These changes are backwards compatible with js185

https://bugs.freedesktop.org/show_bug.cgi?id=59781
api changes for js188

Finalize Stub has been removed, JS_TriggerOperationCallback takes runtime instead
of context. JS_NewCompartmentAndGlobalObject is removed, replace with
JS_NewGlobalObject. JS_CompileFile is removed, replace with JS_CompileUTF8File
build patch for js188

update Makefile/configure for js188

https://bugzilla.gnome.org/show_bug.cgi?id=59830