s3:registry: add function regsubkey_ctr_reinit()