[PATCH 6.6 387/393] sign-file,extract-cert: avoid using deprecated ERR_get_error_line()