libnative/io/net, file_unix: fix offset parameters.

Fixes #17791