rtld: Sync with FreeBSD after gnu_hash import
For the most part, FreeBSD took our gnu_hash implementation without much
modification. Most of these changes are caused by whitespace differences
due to a different style scheme, and by declarating variables separately
from their assignments. Notable exceptions were:
* FreeBSD didn't use int_fast32_t type
* FreeBSD keeps checking the first character before doing strcmp
* FreeBSD renamed the symlook_obj2 to symlook_obj1_*
The only additions were two debug statements. This commits syncs the
following back to DragonFly:
FreeBSD SVN 234840 (30 APR 2012)
FreeBSD SVN 234841 (30 APR 2012)