s3:registry: flush the provided subkey_ctr in regdb_fetch_keys_internal()