[PATCH kernel-4.19 32/74] dm ioctl: fix out of bounds array access when no devices