Qt: fix support for macosx
The Qt contrib was not usable on MacOSX, and wasn't linked statically into the Qt plugins anyway.
This MR also fix the typeof
code used in vlc_list.h
when included into C++ code by providing a polyfill whenever the C++ compiler doesn't support it.