Fix allocation size of arrays with multiple and/or non-32-bit channels [ROCm/hip commit: 9199fe21dd]
9199fe21dd