Changes in inpaint makes the images slightly different

https://github.com/Itseez/opencv/pull/1435 needs this changes to pass the tests