[PATCH 5.15 143/179] tls: splice_read: fix record type check