GPU Calc: using intrinsic isnan() to improve performance and compilation time

Change-Id: I516b0ef0309524b5ecacdee4cd3dd2191c6afb19