also ensure that write buffer is bounded when __stdio_write returns
also ensure that write buffer is bounded when __stdio_write returns

assuming other code is correct, this should be a no-op, but better to
be safe...

davidlazar/musl,chardi/musl,chardi/musl,chardi/musl,davidlazar/musl