fix unittest: KisTransactionTest
The NG const iterators only have access to the oldRawData; that means that transactions need to be committed before we can use KisPaintDevice::pixel.