Not all versions of MinGW have ARRAYSIZE, use our custom COUNTOF macro


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6565 212acab6-be3b-0410-9dea-997c60f758d6