[libc][math] fmod: clear exceptions before the test instead of after

The test has no control over the CPU state before the test runs.

This test checks whether no exception flags are set, which may not be
true at the start of the test. This used to be not a problem because the
check was broken but that was fixed in ecfb5d9951554d8bdb6a499c958f48cc35f78a88

GitOrigin-RevId: 1d87465a0a95cee9accc5dce7abdabbbc3f3c122
1 file changed