netinet: pass cred instead of the curthread to ifaddr manipulation funcs.
Pass the credentials directly to the functions, so non-ioctl kernel
users can also performan address manipulations.
MFC after: 2 weeks
(cherry picked from commit f375bf0e6f0bc6bce3e5b3c6adabc465be2665d0)