[Concept] [PATCH 08/19] scripts: Move bitness and os_arch to helper