Update SocialShare.java

Removed illegal cast to Droidgap on latest cordova version