ubuf_block: Fix use of headers in C++