[gem5] Add debug flag RowBuffer.

(cherry picked from commit 42f0e500d22be9ec442b5e25a67cd50430f33130)
[gem5] Roll back to original src/mem/cache.

(cherry picked from commit b72e806dfeee1964f70dede4041cd3bd9f2a985a)