BackgroundSubtractorMOG2, learningRate=0 optimization

If learningRate=0 then background model should not be updated (unnecessary computation).