check lseek return value in uwsgi_check_logrotate()

please review