Fix channel ordering for multichannel buffers