s3:net rpc registry: use regval_ctr_init() instead of direct allocation