registry: change reghook_cache_add() to return WERROR instead of bool