avformat/mlvdec: Check the return code from strftime()