Fix(CTS): Make HistoricalRegistryTest compatible with xml impl

The new CTS test failed to pass against the 25-q2 platform
build due to an incompatibility with the XML implementation.

Bug: 441328280
Test: atest HistoricalRegistryTest
Test: verified the test on sqlite and xml impl.
Flag: EXEMPT bug fix
Change-Id: Ia607623db431549f9b8c598bf617c3e6e81a031a
1 file changed