fchdir: use more consistent macro convention