[ASan] Cache the OSX version to avoid calling sysctl() on every GetMacosVersion() call.