Set correct dir inside Dir.chdir in native mode

Depends on jnr/jnr-posix#14, which provides `chdir()`.

Fixes http://jira.codehaus.org/browse/JRUBY-6994