fix w32 build and make r_io_desc_seek more reasonable in usage