[Android] BarcodeScanner - Compatibility with Cordova 1.9.0

Added a cast to make plugin work with Cordova 1.9.0