Update halffloat.c

Corrected preprocessor form.

Backport #3541