h263enc: keep block_last_index always valid during advanced intra coding