net: move secpath_exist helper to sk_buff.h