[Concept] [PATCH 16/18] boot: Move setting the OS arch into check_allowed()