s3/registry: fix compile warning on openindiana