This patch adds the ability to pass a pointer of a script object instance
to initialize a ScriptedInterface instead of having the call the
script object initializer in the ScriptedInterface constructor.
rdar://87425859
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>