add a proc_getmodel() interface to return whether a processis a 32-bit or 64-bit process. the interface is from freebsdbut the implementation is different.needed by dtrace.
Add glue, adjust for NetBSD.
Import libproc from FreeBSD