avformat/utils: add a function to standardize creation time