Use QImage.bits instead of QImage.constBits to ease backporting

(from debian patches)

Image.constBits was introduced in Qt 4.7.  Should be ok here to use
QImage.bits which allows linking against the Qt in Squeeze.