common/cpt: add checks for offset overflow
common/cpt: add checks for offset overflow

Add checks to catch overflow of any offsets. Offset control word
specifies,

1. 16 bits encryption offset
2. 8 bits IV offset
3. 8 bits auth offset

Signed-off-by: Anoob Joseph <3ccb4777bd2856f4d9127f25efe6455b1a791ba2@marvell.com>
Acked-by: Akhil Goyal <c3c9da6f7a1dc963875aa67cfd85a4c94f75d526@marvell.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk