truss: recognize O_DIRECTORY, O_EXEC, O_TTY_INIT and O_CLOEXEC

MFC after:	3 days
acct: reduce code duplication by using acct_disable as cleanup for
failed kproc_create

MFC after:	1 week