wayland: remove unnecessary function pointers

Remove the usage of getdladdr as it only adds to code complexity