[ROCm] Fix for sparse matrix related breakage on ROCm.
The following commit caused a compilation failure on ROCm: rohitsan/eigen@ec9c7163
This MR fixes this.
/cc @cantonios
The following commit caused a compilation failure on ROCm: rohitsan/eigen@ec9c7163
This MR fixes this.
/cc @cantonios