[PATCH v2 18/24] kselftest/arm64: move get_header()