[PATCH 6.1 287/291] sign-file,extract-cert: avoid using deprecated ERR_get_error_line()