As "\n" is translated to "\r\n" in TTYs, the condition for a write to succeed on a pseudoterminal should check if the underlying buffer has 2 bytes empty rather than 1. Fixes SerenityOS#18888