lib: add xwii_get_iface_name() helper

This helper takes a single interface and returns the name of the
interface. Quite handy for debugging and logging.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>