Add NetBSD/Solaris allocation functions.
Add NetBSD/Solaris allocation functions.

 * kmem_{z}alloc is used by Solaris and NetBSD
 * pool_{cache_}get is used by NetBSD

github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql