Convert to UNSAFE_TODO in partition_alloc in shim

This is a reland of commit 28c7cb6b99dffd261c254343f151aa2021602866
https://chromium-review.googlesource.com/c/chromium/src/+/7157555

The diff was adding "Linux ChromiumOS MSan Builder" to the script.  Then
I splat the patch to ease review and ensure most can ship without
revert.  It has been split in 12 patches.

Original change's description:
-----------------------------
Convert to UNSAFE_TODO in partition_alloc

This is an automated #cleanup patch using the [Script] below.

We are migrating from coarse-grained file-level suppression (#pragma
allow_unsafe_buffers) to granular, expression-level markers
(UNSAFE_TODO()). The pragma disables safety checks for an entire file,
whereas UNSAFE_TODO() isolates specific potentially unsafe operations,
allowing the rest of the file to be enforced as safe.

This CL was uploaded by git cl split.

Script: https://docs.google.com/document/d/1ORQGBNn2R-CEvNbDTjRd-GrOBOFlCxIHdcvSUA_EhR4/edit?usp=sharing
AX-Relnotes: N/A
Cleanup: This is an automated #cleanup.
Bug: 409340989
Change-Id: If17e71223f4e985dfa8f25ee6e8f4ac4a08cc91e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7197825
Reviewed-by: Keishi Hattori <[email protected]>
Auto-Submit: Arthur Sonzogni <[email protected]>
Commit-Queue: Keishi Hattori <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1551922}
NOKEYCHECK=True
GitOrigin-RevId: 9e0011188b2b486e63b99dfc73db42ba71c68203
27 files changed