Add CMake test for MINGW_HAS_SECURE_API
Add CMake test for MINGW_HAS_SECURE_API

If building for mingw, require the secure API to ensure it has access to
all the required language features

jp9000/libdshowcapture,jp9000/libdshowcapture