h264: move top_borders into the per-slice context