bridge_native_rtp: Fix possible segfaults on leaves/joins