[Issue 10438] Potential Dereference of NULL in ber_bvreplace_x