CFPreferences: Partial implementation using NSUserDefaults.
FileManager: Handle a null pointer if realpath doesn't exist.
libSystem: Add _CSGetProcessorArchitecture stub.