core: Remove unnecessary Mutex in InpaintView

This mutex looks like a hack to deal with the Image Cache not being
thread safe. We have since fixed it so I just deleted that
mutex. (Line 99).

I also took this moment to reduce the number of iterations over the
pixels by processing all channels simultaneously.