[PATCH v2 02/16] device-mapper: Avoid pointer arithmetic overflow