Fix a bug with how write-back cycles were computed in Memory.DRAM.