test_storage: Fix flakiness in round to milliseconds test util method
Prior to this commit, the tests would fail [1] for no good reason [2]. This
fixes it.
[1] https://jenkins.softwareheritage.org/job/DSTO/job/tests/1264/console
[2] microseconds would exceed a limit of 999999 from time to time