tests: Avoid creating a file named "0" when calling "make check".
I goofed.
This commit replaces the use of "print" with "printf" in awk to avoid a newline in the value of $xfcount, and replaces ">", which creates the spurious file, with "-gt" in the comparison.