ubusd: move txq_ofs field to ubus_msg_buf
ubusd: change realloc to calloc, so that free does not free something invalid
libubus: explicit size checks for received bytes in get_next_msg()