Fix compatibility with Mercury 14.01.1.

Note that some marshaling tests will fail due to differences in the way
io.print handles certain types between Mercury 14.01.1 and the current ROTDs.

src/json.marshal.m:
tests/test_marshal.m:
	Ensure we can can compile with Mercury 14.01.1.