The replacement, CCRandomGenerateBytes, is available in the C library. My computer was giving me an annoying and somewhat strange linker warning:
ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.