QImage::constBits is qt >= 4.7 only

Needed to compile on bbplxviz14. May need an #ifdef?