avcodec/vda_h264: fix null pointer dereference