Detect SSE2 support

Compilation on an older 32-bit Athlon XP chip fails with the error
"./Utils/AEUtil.h:50:12: error: '__m128i' does not name a type"
This is because the __m128i type is only available on SSE2 platforms.
Modify the preprocessor logic to detect SSE and SSE2 support separately.

The "emmintrin.h" header should only be included on SSE2 platforms as
well.
Merge pull request #2612 from Jose123456/master

[AE] Fix for non-SSE2 platforms.
renderer: win - reset texture states on configure
DVDAudioCodecLPcm: Do not use AVCODEC_MAX_AUDIO_FRAME_SIZE which has been removed from FFmpeg 2.0 and dynamically allocate buffers as needed.
DVDAudioCodecPcm: Do not use AVCODEC_MAX_AUDIO_FRAME_SIZE since it is gone in FFmpeg 2.0 and dynamically allocate buffers as needed.
DVDAudioCodec(L)Pcm: Disable copying of the class.
Merge pull request #3006 from aballier/ffmpeg2

Stop using AVCODEC_MAX_AUDIO_FRAME_SIZE in (L)Pcm decoders.
DVDCodecs.h: Do not include avcodec.h directly.

If at all it should include lib/DllAvCodec.h but this does not seem to be needed here.
DVDAudio.h: Include DllAvCodec.h which does the right thing to get the definitions instead of manually including avcodec.h.
DVDStreamInfo.h: Include DllAvCodec.h which does the right thing to get the definitions instead of manually including avcodec.h.
[cosmetics] update copyright headers
DVDDemux.h: Include DllAvCodec.h which does the right thing to get the definitions instead of manually including avcodec.h.
DVDDemuxPVRClient.h: No need to manually include avformat.h since we already include DllAvFormat.h
DVDDemuxUtils.cpp: Include DllAvCodec.h which does the right thing to get the definitions instead of manually including avcodec.h.
DVDDemuxFFmpeg.cpp: Do not exclude OTF fonts in FFmpeg attachements with external ffmpeg. This is supported in ffmpeg-1.0 which happens to be the minimum required version for building xbmc.
Merge pull request #3002 from MartijnKaijser/update_header

update copyright headers
Remove unnecessary scope declared inside its own namespace
fixed, ProcessJoystickEvent was broke for axis handling
Revert "fixed, ProcessJoystickEvent was broke for axis handling"

This reverts commit 6c11ee3335e9b787d7e85638bbcebf05e2890d57.
VAAPI: Add check for maximum surface count in EnsureSurfaces