avcodec/aacsbr: check that the element type matches before applying SBR