dev: Fix buffer overflow in device_addr2str()