vdpau: Use CheckStatus function.

Minor change to use CheckStatus instead of directly determining the
vdpau status.