Incompatible change: make lfp_ptsname() wrap ptsname_r()