Update halffloat.c

Corrected preprocessor form.
Merge pull request #3541 from jeromekelleher/patch-1

BUG: make preprocessor tests consistent in halffloat.c