control_mod: check for NaN in Green function

So far the Subroutine Control_PrecisionG in Prog/control_mod.F90 does ignore NaN in the Green function. But since NaNs in the Green function can be considered as failed run, I suggest checking for NaNs and aborting the simulation if some are found.