[openbsd-compat/regress/strduptest.c] Add missing includes so they pass compilation with "-Wall -Werror"
Add first attempt at regress tests for compat library. ok djm@