[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
```
def HasCreateInternally(java_data):
  java_data_instance = java_data.GetInstanceJavaData()
  if java_data_instance:
    return java_data_instance.HasCreateInternallyAnnotation())
  else:
    return java_data.HasCreateInternallyAnnotation())
```