include/user: Add `HSET_MOD_WITH_COOKIE`

Adds a variant of `HSET_MOD` that requires the provided cookie to
match the cookie that was previously stored with the handle.

Bug: 382291660
Test: tipc.test && authmgr_be_lib.test
Change-Id: I8437ba5c5df4305221a5b06b7359c38dafe97af7
1 file changed