Refactor KV callbacks to use lcb3 API

Change-Id: I0519dd0565665cc0520cf03663a079e105e64e58