Improve kstat compatibility in sunos if_ plugins

A long time ago, I made the sunos if_ plugins do magic with kstat to only get
the right statistics.  In newer versions of Illumos, some of the pattern
matching magic no longer works (I suspect this is because kstat was converted
from perl script into binary).

This commit fixes the plugins to support the whole spectrum again by moving the
matching magic to awk.