Fix #17747: Timezone errors during install

Set timezone to UTC in install.php and for unit tests
to fix php errors complaining that it is unsafe to use
date functions without an explicitly set timezone.