util/os_misc: use detect_os.h to start uncoupling from gallium