player: do not redefine NOMINMAX if defined

It seems some versions of MinGW define NOMINMAX in the Windows
headers. To prevent redefinition-warnings, only define it if not
previously defined.