[PATCH 5.1 105/122] dm delay: fix a crash when invalid device is specified