mlp: Factor out channel layout subset checks