plugins/cgi: fix memory leak in uwsgi_cgi_request

Reported by Coverity as CID #990186.
Merge pull request #209 from xrmx/coverity12

plugins/cgi: fix memory leak in uwsgi_cgi_request