move thread contexts from slice header to decoder context