[upgrade] create /var/log/postgresql before upgrade

/var/log/postgresql needs to be present otherwise postgresql won't
start.