fix segfault if $fastcgi_script_name or $fastcgi_path_info were used before fastcgi handler, the bug has been introduced in r2444