compressed_matrix: Fixed invalid memory access for triangular solves.

Transposed forward solves accessed invalid shared memory, potentially
causing runtime failures on some GPUs. This is now fixed,
thanks to oclgrind for locating the problem quickly.
Addresses the failures Philippe mentioned in #105.