radeonsi: fix VAAPI segfault due to various bugs

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111236
40 jobs for !2016 with fix-vaapi in 60 minutes and 49 seconds (queued for 5 seconds)
latest merge request