Cross support for PNaCl:
* Remove a call to madvise; PNaCl/Newlib doesn't have it.
* Emulate ffsl/ffs using __builtin_clz.