linux(4): Move statx_copyout() close to linux_statx()
Just for future changes of the conditional Linuxulator build. We need
a small refactoring of the MI code to help porting Linuxulator to other
platforms.
(cherry picked from commit e9204c5c2c5c471ad2182ec6358a46be74c9ebb6)