h264: move the slice type variables into the per-slice context