AbstractApplicationEventMulticaster only caches if event type and source type are cache-safe

Issue: SPR-11606