[app][aboot][devinfo] fix "struct device_info"

- bools aren't safe in hw structs, use uint8_t
- mark the struct as packed, to prevent optimizations