refactor: rename chstr_ prefixed functions to C prefix.

* ext/posix/curses.c: Rename chstr_ prefixed function to C
prefix.
(chstrlib): Use LUAPOSIX_FUNC instead of MENTRY.

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