Shamelessly grab reallocarray(3) from OpenBSD's libc.
Sync with upstream CVS. Again... you really ought to fetch it yourself.