move source size checking from ecb_crypt_file() to main()

This prevents output file rewrite caused by running gost28147 against
same output file with incorrect input file size in ECB mode.