s3:registry: move non-reg_objects definitions from reg_objects.h to registry.h