Revert r272122

The patch still needs to be more robust and it broke the
build on MIPS so revert it for now while all the issues
are fixed.

Reported by:	ache, davide
PR:		137307


git-svn-id: svn+ssh://svn.freebsd.org/base/head@272146 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f