Fix the bug in CDVCamera.m of hasPendingOperation property when takePicture