Consolidate definitions required to build for CHERI.

You can now specify -DCHERI or CHERI=foo on the make command like to
replace TARGET, TARGET_ARCH, LOCAL_*, and DB_FROM_SRC.  You must still
specify -DNO_ROOT when installing.

Requested by:	David