Fixed issue with setting b2Joint::userData

The userData was always ending up as 0 and causing a crash on exit,
because the b2JointDef constructor was running after setting the
userData pointer. I broke this in change 929198b2d0ce48f5c98b470f8.