stdio: make an open_memstream byte-oriented, as POSIX requires
POSIX: "The stream associated with a call to open_memstream() shall be
byte-oriented." fopencookie() leaves a new stream unoriented, so fwide(f, 0)
answered 0 instead of a negative value and the first wide operation could have
turned the stream wide.
__STDIO_STREAM_SET_NARROW() is a no-op when UCLIBC_HAS_WCHAR is off, where
there is no orientation to set, so no guard is needed.
fmemopen() is deliberately left alone: its POSIX page says nothing about
orientation.
Found by tst-fmemopen in uclibc-ng-test, which now walks the whole
open_memstream description.
Signed-off-by: Ramin Moussavi <lordrasmus@gmail.com>