Add test for fstatat(pipefd, AT_EMPTY_PATH)
(cherry picked from commit b42df9dafb8038169e23f9225f3f1588ded8d27e)