Correct the mutability of arguments to RUST_js_GetErrorMessage.