Fix compiler errors/warnings with clang when compiled with -static

Sponsored by: EMC / Isilon Storage Division
Merge branch 'isilon-atf' of https://github.com/yaneurabeya/freebsd into isilon-atf