libbb: move netlink socket binding to the utility function