Currently, folding was emitting "invalid argument on intrinsic function"
when folding numerical intrinsics with the host runtime like acos(200.).
Add a way to register custom argument checks before folding with the
host runtime. If this checks emit warnings, the default message (that
came from the capture of floating point signals from the math library
call) is skipped.
Arguments range/value checks are added for acos, asin, atan2, mod,
gamma, log_gamma, bessel_y0, bessel_y1, and the elemental bessel_yn.