vdpau/chroma: fix leak on error