QueryBuilder - replace deprecated getAlias() by getAliases()[0]

Ok, next time I'll know. I won't fix it now since it's should remain for internal use.

To be use. Proper solution would be this?

```php
$rootAliases = $this->getRootAliases();
$rootAlias = $rootAliases[0];
```