Bugfixes/setpixels

 Fix Bitmap.setPixels() for older Python versions.