rosmatlab: fixed a segfault during conversion of messages with variable-