kernel: Allow pf to build without INET6

Submitted-by: lhmwzy