g726enc: use av_assert0() for sample_rate validation