ipc/shm.c: fix shm_fsync arguments