macosx: fix crash when applying video effects profile
macosx: fix crash when applying video effects profile

(cherry picked from commit c556711db3d0f0587144c713bbb34b4876a91f85)
Signed-off-by: David Fuhrmann <0373137a05c54ad8db3bae67bf852110dab006a2@videolan.org>

jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2