ovsdb: Weak references performance fix