avcodec/vp3: check current_frame before accessing it