fix cpu core query via cpuid
fix UNIX64 and WIN64: use ecx as input param
add exception handler,  the AMD cpu must be single core if it do not support HTT
Merge branch 'master' of https://github.com/cisco/openh264 into core_number_detect_fix
check cpuid max level before use cpuid.4
Remove the unused global variable g_uiCacheLineSize
Remove useless use of the HAVE_CACHE_LINE_ALIGN define

The code ends up as the exact same regardless of whether the
define is set or not.
Add more generated files to gitignore
Use intptr_t instead of long for casting pointers to integers

This fixes building on mingw-w64.

Include stdint.h on everything except MSVC for definitions of
common standard types, include stddef.h on MSVC instead, since
MSVC doesn't have stdint.h in all older versions that are
supposed to be supported, but MSVC always defines intptr_t via
stddef.h.
Remove the HAVE_CACHE_LINE_ALIGN, ENCODER_CORE and WELS_SVC defines from makefiles

Neither of them are used anywhere any longer.
Remove the HAVE_CACHE_LINE_ALIGN, ENCODER_CORE and WELS_SVC defines from visual studio project files

These defines are not used anywhere any longer.
Add support for 64 bit mingw in the makefiles

By setting an overridable variable in the main makefile, we avoid
having to move the default -DUNIX64 into each of the other unix
platform makefiles, but still allowing the mingw platform to
override it.
Merge pull request #130 from mstorsjo/gitignore

Add more generated files to gitignore
Mark pointers to quantization functions const where possible
Mark some read-only global tables const
Merge pull request #129 from mstorsjo/remove-unused

Remove unused global variables and defines
Merge pull request #132 from mstorsjo/mingw64

Add support for building on 64 bit mingw
Merge pull request #137 from mstorsjo/const-global-tables

Mark some read-only global tables const
protect code if cpuid.4 return eax as zero
Merge pull request #122 from volvet/core_number_detect_fix

Core number detect fix