Fix openexr cmakelists for non-windows
Summary: Current CMakeLists.txt for krita 3rdparty openexr was incomplete, applying the mingw patch for every system. Just added a case for non windows systems.
Reviewers: rempt
Differential Revision: https://phabricator.kde.org/D2331