test: fix pool size assumption (#34554)
On 32-bit, this object falls into the 12-byte pool, which does not exist
on some platforms (such as Win32). Query for which pool this will land
into and test the track-allocation result accordingly.
Fixes a test added in #34391