Remove occasional leading space in XPath number formatting

https://bugzilla.gnome.org/show_bug.cgi?id=704528

Somehow snprintf "%*.*e" can generate a leading space, remove it
diff --git a/xpath.c b/xpath.c
index 97410e7..4fa53df 100644
--- a/xpath.c
+++ b/xpath.c
@@ -2885,6 +2885,12 @@
 				fraction_place, number);
 	    }
 
+	    /* Remove leading spaces sometimes inserted by snprintf */
+	    while (work[0] == ' ') {
+	        for (ptr = &work[0];(ptr[0] = ptr[1]);ptr++);
+		size--;
+	    }
+
 	    /* Remove fractional trailing zeroes */
 	    after_fraction = work + size;
 	    ptr = after_fraction;