AMG: Fixed possibly incorrect matrix sizes of GPU-based operators.

Empty columns at the end of restriction or prolongation operators
might have resulted in an incorrect detection of the matrix dimensions.
Using the sparse matrix adapter with explicit size specification,
this is no longer an issue.