[gem5] Add support for modeling banks, and add flush latency.