FreeBSD: use modern pts(4) interface instead of the old pty(4) one