xls: fix crash reading a strange header/footer record.