adpcmenc: remove some unneeded casts