linux: list_ports use interface path for multi location

On devices with multiple serial interfaces, like FT4232,
the usb_device path is the same for all interfaces, so hwid does
not uniquely identify the interface.
So in this case use the basename of the interface directory.

Single interface:
hwid: USB VID:PID=0403:6015 SER=DN00RHW0 LOCATION=3-1.1
Multiple interface:
hwid: USB VID:PID=0403:6011 SER=FT97WK0I LOCATION=3-1.2:1.1

Signed-off-by: Eliot Blennerhassett <eliot@blennerhassett.gen.nz>
1 file changed