kompat: Check that the replacing syscall exists on the current architecture.

They are a lot of syscalls that do not exist on Aarch64.  For
instance, the glibc wrapper for open(2) uses openat(2).

Reported-by: Rémi Duraffort <remi.duraffort@st.com>