s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.