h264: Make sure reinit failures mark the context as not initialized