vapi/posix.vapi: add POSIX, GNU and BSD APIs
The POSIX and GNU APIs are closely related in GNU’s implementation, so it makes sense to put them here. GNU regex also provides the old BSD APIs, which are just a couple of function calls, so provide them too.