Delete local function strerror and USE_GETCWD define.

Both are useless after porting mch_dirname to libuv.