re PR libfortran/19363 (List directed write of Infinity and NaN has regressed)