backgroundcontrast: Guard against calling a nullptr
There are cases where GLVertexBuffer::map will return null (as seen in kwinglutils.cpp:1816) which does happen (as seen in the backtrace of bug 462017) Make sure we don't call the null map in that case.
BUG: 372305 Saw this in the VHI priority list, cannot reproduce the problem.