[Android] Fix the issue about onJavascriptModalDialog was not called.

This patch is to fix the issue about onJavascriptModalDialog was not called
when this function was overridden in class of XWalkUIClient.
Modify the condition for override function, if parameter is not the
instance of specified, create a new instance.

BUG=XWALK-2534
Here you are based on the condition in `UseAsReturnInBridgeSuperCall`, i would prefer to make it explicit.
```
  def UseAsInstanceInBridgeOverrideCall(self, var):
    clazz = self._class_annotations.get('instance', self._class_name)
    clazz = clazz.replace('.class', '')
    if self.LoadJavaClass(clazz).class_annotations.get(
        'createInternally', False):
      return self.UseAsReturnInBridgeSuperCall(var);
    return '(%s) %s' % (self.LoadJavaClass(clazz).bridge_name, var)
```