[SeaBIOS] [PATCH v2 10/22] virtio: add read/write functions and macros