it's not dependent on COMPAT_10. Also, fix translation of shmctl(), since FreeBSD's is a little different.