[BUGFIX] Function buildUrl does not handle port setting

The function buildUrl in the TYPO3\CMS\Core\Utility\HttpUtility class
does not handle any port setting. This has to be added after the host
setting separated by a colon.

Change-Id: Ie2b24dd076b8abc79ababbd19d6699d6a9fb47a3
Fixes: #47012
Releases: 6.1, 6.0, 4.7
Reviewed-on: https://review.typo3.org/19728
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn