Fixed compilation errors under VS 2010 and Win 7

MSMF capture module after recently introduced changes doesn't compile successfully under VS 2010, Win 7 and SDK 7.
Some constants (representing media states), macros (like _WIN32_WINNT_WIN8) and some lexical constructs (SAL) are undefined or unavailable in this environment