vdpau/chroma: fix NULL dereference on error