LCL, QT, set number of colors to 2 for mono images, this avoids crash if QT is compiled with debug info because then assertions are enabled

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40671 4005530d-fff6-0310-9dd1-cebe43e6787f
Lazreport, applied so called 'proper paint' patch so the designer draws only during paint cycle, tested Win, Linux (Gtk2 and Qt) and Mac

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40672 4005530d-fff6-0310-9dd1-cebe43e6787f