These functions are independent from GNRC and can be used by stack-agnistoc code. Avoid pulling in a GNRC dependency by moving those two helper functions to `netif`. The old function names are kept as `static inline` wrapper functions to avoid breaking API users.