Make more libm tests condition exceptions tests with math-tests.h.