[gem5] Fix bug of omitting a call to CacheController::DirtyBlock().