CB-7558 - hasPendingOperation flag in Camera plugin's takePicture should be reversed to fix memory errors

Signed-off-by: Shazron Abdullah <shazron@apache.org>