Update CDVBarcodeScanner.mm

Fixed problems for iOS 5.0 and phonegap 3.0.0