Avoid unsigned-to-signed casts that would result in negative values when reading DPX X/Y offsets.
Fix SPI validation after DPX change