mesa: move fpclassify work-arounds into c99_math.h