mplayer: fix race condition on uninit with Cocoa

NULL out Cocoa's reference to mplayer's input context before deallocating it