[scudo] Don't unmap other low memory pages if mapping doesn't exist

Tests can register multiple allocators, but only the first will initialize since it initializes the TSDRegistrySharedT. Then, destruction of subsequent allocator may end up unmapping a nullptr PrimaryBase with non-zero PrimarySize.

Differential Revision: https://reviews.llvm.org/D121858

GitOrigin-RevId: 4787e5c34ec8f710f545e33285b7a121eaf05e54
Change-Id: I337ee5b076096c6cfceefcf50fd9aefc8a696f6a
1 file changed