Replaces SYS_open with SYS_openat (XCC)