macosx: fix an exception when library input item is nil
Given libraryMediaItem is nil in this context, an assertion was
thrown in the next resumePlaybackPositionForLibraryMediaItem:
call.
This patch make the code return when libraryMediaItem is nil to prevent the assertion.