adpcm: use sign_extend()