Catch GCC ±Inf bugs.

GDC's ld_sprint will write ```+Inf```/```-Inf``` to buffer rather than ```INF```/```NINF``` (see gcc's real.c real_to_decimal_for_mode).

Better to catch infinity here so that mangling is correct.