s3:profiles: use regval_ctr_init() instead of direct allocation