Remove isnan() and isinf() templates from QGC.h for Windows builds

Remove isnan() and isinf() templates from QGC.h for Windows builds, this
generates errors (already defined in math.h).