Drop msec when reading last modify timestamp.
This fixes https://bugs.kde.org/show_bug.cgi?id=505023.
A file's modification time can include a fraction of a second. This causes kphotoalbum to report an invalid timestamp since the fraction is dropped when the timestamp is saved to the XML database. When InvalidDateFinder reads the file's modification time and compares it to the time read from the XML database, they differ by the fraction of a second.
See comment #1 (closed) of the bug for a simple test case.