fix sun.misc.Unsafe.arrayIndexScale implementation

The original implementation was based on the assumption that the
passed class would be the array element type, whereas it is actually
the array type itself.
perform any necessary argument conversion in JVM_NewInstanceFromConstructor

We must use the same utility function as JVM_InvokeMethod to ensure
that primitive arguments are unboxed when necessary.