Fix buffer overrun when decoding an op
Fix buffer overrun when decoding an op

The parent hex string was always decoded assuming a length of 128. This
is fixed by calculating the actual length of the string.

polyphony-ot/libot