kinfo_proc2 was removed from OpenBSD. Use kinfo_proc instead.

This change is released under the MIT license with permission from the
original author Robert Nagy.