This change adapts c3157ea4aa for ROCm 6, in case it fixes the same problem right out of the gate. Since rocAL is getting deprecated, dropping this and moving the rocAL build to its own derivation is also a possibility.
c3157ea4aa