h264: initialize VA context before allocating the first slice.