To get rid of a compiler warning.
For an invalid input `ubjson_get_i32()` did not return a proper error code. Because of that `_ubjson_read_length()` could have operated on uninitialized data. Found via scan-build.