kern_openat(): rename fd argument to dirfd
(cherry picked from commit 2a284076ecb4d22928b78249070efa46153666ff)