[MacPlatform] Instead of throwing exceptions on unknown keychain errors, just return null

Fixes bug #16017