fix gemm batched kernel illegal access