macosx: fix crash when opening goto window (close #9488) (cherry picked from commit dcf42ab9608633a463798e09b194ef81acde5856)
macosx: fix crash when opening goto window (close #9488)
(cherry picked from commit dcf42ab9608633a463798e09b194ef81acde5856)

Signed-off-by: David Fuhrmann <1118fa3e4e403c0aeed361cc3f3eb9aca4cc425c@googlemail.com>

jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1,vlc-mirror/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,jomanmuk/vlc-2.1,jomanmuk/vlc-2.1,jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1