ltsv_decode: Return with error code immediately on error