[PATCH 4.14 24/35] genwqe: Prevent an integer overflow in the ioctl