Fix av_cmp_q() with negative denominators.