Move ff_sqrt() to libavutil/intmath.h