glsl: Use link_calculate_matrix_stride in lower_buffer_access and friends