MFC r266826, r266827
Move some duplicated hook definitions from machine-dependent files to
kern_dtrace.c.