maint: add missing lib/posix/compat.lua file.

* lib/posix/compat.lua: New file, forgotten from an earlier
commit.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>