std.stdio: use getc_unlocked and putc_unlocked for OSX/FreeBSD