[PATCH 5.1 47/70] genwqe: Prevent an integer overflow in the ioctl