[libc++] Use a union for uninitialized storage in associative container benchmarks (#227068)

This removes the need for reinterpret_cast when accessing the containers
constructed in the scratch space, and fixes the PMR constructor
benchmark passing the wrong pointer to DoNotOptimize.

GitOrigin-RevId: 3b8bb27206645009167c62fc422c33be7246bc5a
1 file changed