Fix "ptsname is not thread-safe; use ptsname_r instead" build break.

Change-Id: I8fdca8e85056e99e943bdcf93a48574d76addcdc
1 file changed