[PATCH v3 3/4] selftests: x86: fsgsbase_restore: remove manual counting and increase maintainability