Defines SYS_openat2 for all arch. This is another case where the glibc headers define the NR constant but not the SYS constant.
For x86, the latest glibc version indeed defines SYS_openat2. But it had to be manually defined for arm and aarch64.
Issue: #5131 (closed)