(flickcurl_unixtime_to_sqltimestamp): Use SQL_DATETIME_LEN

Coverity CID 56623
Added cmdline.c common command line code
Use cmdline common code in utils