s4-dsdb: Improve memory handling in kccsrv_add_connection()