scop_extract_from_C_source: properly clean up if input file cannot be openend