Fix compiler warnings for half.hpp
Use half.hpp's faster float<->half conversions in a couple key places,
results in 8% faster float buffer -> half OpenEXR file writes, and about
1% faster half OpenEXR -> float buffer file reads.