Throw Exception When No vec3 Passed to GameObject.GetPosition()

- GameObject.GetPosition() expects a vec3 passed to hold the output, but
wasn't properly checking the input, causing a crash the v8 couldn't
recover from. Added proper type checking to prevent further crashes.