MINIFICPP-1543 Add 'brew update' to MacOS CI jobs

... and remove packages which are already installed, because these cause
`brew install` to return with a non-zero status, for some reason.

Signed-off-by: Arpad Boda <aboda@apache.org>

This closes #1051
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 306ec15..4c17288 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,7 +20,9 @@
             macos-xcode11.2.1-ccache-${{github.ref}}-
             macos-xcode11.2.1-ccache-refs/heads/main-
       - id: install_dependencies
-        run: brew install ossp-uuid boost flex openssl python lua@5.3 xz libssh2 ccache sqliteodbc
+        run: |
+          brew update
+          brew install ossp-uuid boost flex lua@5.3 ccache sqliteodbc
       - id: setup_env
         run: |
           echo "PATH=/usr/lib/ccache:/usr/local/opt/ccache/bin:/usr/local/opt/ccache/libexec:$PATH" >> $GITHUB_ENV
@@ -50,7 +52,9 @@
             macos-xcode12.0-ccache-${{github.ref}}-
             macos-xcode12.0-ccache-refs/heads/main-
       - id: install_dependencies
-        run: brew install ossp-uuid boost flex openssl python lua@5.3 xz libssh2 ccache sqliteodbc
+        run: |
+          brew update
+          brew install ossp-uuid boost flex lua@5.3 ccache sqliteodbc
       - id: setup_env
         run: |
           echo "PATH=/usr/lib/ccache:/usr/local/opt/ccache/bin:/usr/local/opt/ccache/libexec:$PATH" >> $GITHUB_ENV