libmseed: Patch infinite loop.