Simplify gen-libm-test.pl handling of tests with extra outputs.
Handle sincos with generic libm-test logic.