libubus: add logic to reduce msgbuf data size after 64 small messages