Fix regression introduced by commit 3921889f3be47edb56b8ebc4691edbbd31d6b273

adpcm_compute_residuals should honor the count parameter.