Modify mch_dirname() to take a size_t.

Both g++ and clang gave errors that the call to uv_cwd() in
mch_dirname() takes a size_t* instead of an int. Changed the type of the
len parameter to size_t and added an & to len in the call to uv_cwd() to
satisy the requirement.