uwb: wlp: refactor wlp_get_<attribute>() macros