av_add_stable: Add fast special case where step can be represented exactly