parser: Drop a pointless macro

The JSON_PARSER_GET_PRIVATE macro is pointless, now that we use the new
version of GLib.
parser: Use the proper GLib API to find test data files

Instead of our homegrown solution. This should fix the regression in the
installed tests case.

Original patch by: Colin Walters <walters@verbum.org>