Replace use of stat() in file list ctime sorting

Use GFileInfo to query the ctime attribute, and explicitly ignore
errors.

Found with Coverity (CID 1163370).