Fix error in UIDGeneratorTest::testTimestampedUID

Currently, this test passes in Jenkins, but not in Travis CI where
apparently code execution is slower so not all UIDs are created within
the same millisecond.

Bug: 73668
Change-Id: Ic68af599599ace5faa6a687d115d2d3802f6ba1b