libmpathpersist: Fix possible overrun in devt2devname()