VDPAU: fix segfault if vdpau fails to open context
Merge pull request #4649 from FernetMenta/vdpau3

VDPAU: fix segfault if vdpau fails to open context