Merge "Move Gerrit init and reindexing steps to entrypoint.sh." into stable-3.4