[osxsink] - fix deadloop in drain

When cables are unplugged or tv is powered down the device vanishes and we might end up in an endless loop when the Engine tries to drain the sink.

This was confirmed fixing some tv poweroff/cable unplug issues as described here:

http://forum.xbmc.org/showthread.php?tid=185395

Backport of #4383