Fix nqp::substr; patch from nwc10++.