serdes: simplify handling of basic types
serdes: simplify handling of basic types

This commit removes a macro, and fixes compilation errors on
certain platforms such as NetBSD 8.2.

Refs: https://github.com/nodejs/node/issues/34510
Fixes: https://github.com/cjihrig/uvwasi/issues/145

nodejs/uvwasi