[CI] Appveyor - refresh pacman database on upgrade

Add -y (--refresh) flag to pacman when also doing a system upgrade with
-u (--sysupgrade). This ensures that its database is refreshed in the
case where pacman core is upgraded after the previous refresh.
diff --git a/build/appveyor/MINGW-appveyor-full.bat b/build/appveyor/MINGW-appveyor-full.bat
index f808c0d..964df0b 100644
--- a/build/appveyor/MINGW-appveyor-full.bat
+++ b/build/appveyor/MINGW-appveyor-full.bat
@@ -83,7 +83,7 @@
 
 :: Upgrade things
 %BASH% -lc "pacman --noconfirm -Syu %IGNORE%" || EXIT /B
-%BASH% -lc "pacman --noconfirm -Su %IGNORE%" || EXIT /B
+%BASH% -lc "pacman --noconfirm -Syu %IGNORE%" || EXIT /B
 %BASH% -lc "pacman --noconfirm --needed -S %PACKAGES%" || EXIT /B
 
 
diff --git a/build/appveyor/MSYS-appveyor-full.bat b/build/appveyor/MSYS-appveyor-full.bat
index 082ffdb..023ab9d 100644
--- a/build/appveyor/MSYS-appveyor-full.bat
+++ b/build/appveyor/MSYS-appveyor-full.bat
@@ -54,7 +54,7 @@
 
 :: Upgrade things
 %BASH% -lc "pacman --noconfirm -Syu %IGNORE%" || EXIT /B
-%BASH% -lc "pacman --noconfirm -Su %IGNORE%" || EXIT /B
+%BASH% -lc "pacman --noconfirm -Syu %IGNORE%" || EXIT /B
 %BASH% -lc "pacman --noconfirm --needed -S %PACKAGES%" || EXIT /B