Silence bmake(1) errors if TEST_DIRS evaluation is empty.
Add the necessary bits for dumps on ppc64.

MFC after:	2 weeks
Fix a few style nits.

MFC after:	3 days
X-MFC-After:	10.0-RELEASE
Sponsored by:	The FreeBSD Foundation