GVariant: add g_variant_check_format_string()