move fmemopen, open_*memstream to linux/stdio