[RFC] Implement os_fchown and remove HAVE_FCHOWN

Yet another little step of #133.
TODO: write unit tests for `os_fchown`.