hw: import bitmap operations in qdev-core header