kokkos: disable volatile when kokkos >= 3.7
Followup: !2992 (merged)
Backport of !2991 (merged)
I made the mistake to merge !2992 (merged) after checking the wrong CDash page which made ignore the introduced warnings.
Followup: !2992 (merged)
Backport of !2991 (merged)
I made the mistake to merge !2992 (merged) after checking the wrong CDash page which made ignore the introduced warnings.