Integrate errno testing better in libm-test.inc.