MT#10303 usrloc: fix db_update_addr and db_delete_ucontact_addr

use query WHERE columns depending on matching_mode option

Change-Id: Ie85a000f443b784e4782bc3b252443f360960188