Moved vaapi code into libvlccore, to avoid accidential multi-loading.