registry: change init_registry_key() and init_registry_data() to return WERR