Move some duplicated hook definitions from machine-dependent files to
kern_dtrace.c.

Reviewed by:	rpaulo
MFC after:	1 week
Commit the rest of the changes that were intended to be part of r266826.

X-MFC-with:	r266826