scons: fix mingw32 cross-compile

Made check for PNG support in SDL always succeed for cross-compile scenarios
because it requires running a test program.