fix segfault inside b2Joint::Destroy