Get hhvm compiling with clang-3.5

Summary: This really wasn't that bad. A few mistaken uses of abs(), a few
functions unused except in debug mode, and some apparently-redundant
bool conversions.

Reviewed By: @meyering

Differential Revision: D1546566