[PATCH openEuler-1.0-LTS 034/149] modpost: use read_text_file() and get_line() for reading text files