libubus: fix incompatible pointer types assigment