[FLINK-1208] move check for comments to CsvInputFormat