Apple has patched a zero-day vulnerability being exploited in targeted attacks