Fix memory corruption if using ROIs

The mock camera now only prints a buffer of roi size and
*then* transfers it to the caller.

Conflicts:
	plugins/mock/uca-mock-camera.c