Remove an infinite loop.
Remove an infinite loop.

If an unknown type byte is encountered, the offset isn't incremented,
resulting in an infinite loop. We now return an error instead.

josh-wambua/libdivecomputer,henrik242/libdivecomputer,Poltsi/libdivecomputer-vms,josh-wambua/libdivecomputer,henrik242/libdivecomputer,glance-/libdivecomputer,venkateshshukla/libdivecomputer,venkateshshukla/libdivecomputer,glance-/libdivecomputer