[vm, gc] Let mutators skip incremental marking during Dart_PerformanceMode_Latency.
[vm, gc] Let mutators skip incremental marking during Dart_PerformanceMode_Latency.

TEST=ci
Bug: https://github.com/flutter/flutter/issues/113796#issuecomment-1289437787
Change-Id: I8ce23c66bd0528005bd53fe977e23191da2084d8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269481
Commit-Queue: Ryan Macnak <d738b7f001baf9789095d7dc549cff6de60b011d@google.com>
Reviewed-by: Siva Annamalai <2e618a8cbd7bb6b3d4409061ae407d692a098546@google.com>

dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk