[record.meteo] fix the reading of the agroclim type header
In the Agroclim file type, an infinite loop occurs if the file type provided is not of type agroclim. It occurs when searching for the keyword "NUM_POSTE" in a file that does not contain it.