[PATCH v2 2/6] device-mapper: Avoid pointer arithmetic overflow