Revert "Update Gerrit commit hook"

This reverts commit 7ec738a7767eae347922e5a51adee1cd572a6d7e.