Fix portability issue in tests from commit ce773f230.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 9089f1543ef50414e1cecf89bc34eeb3ab1cb968
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-09-03T14:01:02Z
Releases: 13.5
Fix portability issue in tests from commit ce773f230.

Modern POSIX seems to require strtod() to accept "-NaN", but there's
nothing about NaN in SUSv2, and some of our oldest buildfarm members
don't like it.  Let's try writing it as -'NaN' instead; that seems
to produce the same result, at least on Intel hardware.

Per buildfarm.

Files