[cleanup][ALUGrid] remove dangling reference warning when GCN compiler is used.

@tkoch: You patch did unfortunately nothing but disabling the GCC diagnostic ignored alltogether.

I fixed this in a different way. Please check if this works for your compiler.

Merge request reports

Loading