[HttpFoundation] Update QUERY_STRING when overrideGlobals

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -
A use case is when you want to get the current URI without some GET parameters:
```php
$request->query->remove('nonce');
$redirectUri = $request->getUri();
```
I code it like this at the first position because ``getUri()`` uses ``getQueryString()`` that gets the query string from ``$this->server``.