[vm] Acquire the initializing stores for static initializer functions.
[vm] Acquire the initializing stores for static initializer functions.

TEST=tsan
Bug: https://github.com/dart-lang/sdk/issues/36097
Change-Id: Ia8f90945961b77f00f2019e48e6de5c86cb8d840
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175904
Reviewed-by: Alexander Aprelev <dfb74c35a357c2059971a4bf7fe26b6a7c18085d@google.com>
Reviewed-by: Martin Kustermann <a35dd5b79fac84b2bb3b026a16b8becc55af5961@google.com>
Commit-Queue: Ryan Macnak <d738b7f001baf9789095d7dc549cff6de60b011d@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