fmemopen fixes
fmemopen fixes

disallow seek past end of buffer (per posix)
fix position accounting to include data buffered for read
don't set eof flag when no data was requested

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