[Concept] [PATCH 13/18] boot: Move the architecture check into check_allowed()