emul_freebsd: add emul flags EMUL_HAS_SYS___syscall|EMUL_GETPID_PASS_PPID|EMUL_GETID_PASS_EID
it's not dependent on COMPAT_10. Also, fix translation of shmctl(), since FreeBSD's is a little different.