handle strange brightness+contrast adjustment from msoffice (fdo#38410)

LO uses basically the formula "newpixel=(oldpixel-128)*contrast+128+brightness",
i.e. contrast is applied first. It looks like there's no "oficial" formula for this,
so a formula that applies brightness first would be ok too. MSO for some weird reason
apparently uses a formula that applies half of brightness before contrast and
half afterwards (insert funny political correctness or compromise joke here).
While the result is the same like with the LO formula if only either brightness
or contrast is adjusted, the result is different if both are involved. Just modify
the image using the MSO algorithm if this is the case.

Conflicts:
	filter/source/msfilter/msdffimp.cxx
	include/vcl/bitmap.hxx
	include/vcl/bitmapex.hxx
	include/vcl/gdimtf.hxx
	vcl/source/gdi/bitmap3.cxx
	vcl/source/gdi/bitmapex.cxx
	vcl/source/gdi/gdimtf.cxx

Change-Id: I55fe8f395832685b90f024cf2f58b0797c1ba588