[PATCH v2 2/4] selftests: x86: corrupt_xstate_header: remove manual counting and increase maintainability