plugins/cgi: fix memory leak in uwsgi_cgi_request

Reported by Coverity as CID #990186.