avutil/mathematics/av_add_stable: check for the common case of inc=1