Fix Bitmap.setPixels() for older Python versions.
Windows build fix.
Merge pull request #557 from libavg/bugfixes/setpixels

Fix Bitmap.setPixels() for older Python versions.