Correctly clean up IntraX8Context upon codec close.