s3:registry: make regdb_subkeys_need_update() static