json-glib-1.0: fix functions which return floating GVariants