fixed reference leaks in librdf_node_get_literal_gvalue (thanks valgrind!)