Improve the JS_ReportErrorNumber and JSErrorCallback definitions.