aac: check the maximum number of channels