Do not send focus event to missing plugins on OS X

Fix a crash when trying to focus a pluginview that doesn't have a loaded
plugin.

Task-number: QTBUG-40273
Change-Id: I0875cab81a3484094fc705d59df80b87ca83a9ff
Reviewed-by: Michael Bruning <michael.bruning@digia.com>