spi: core: Validate length of the transfers in message