Fixes for align_offset This addresses @RalfJung's comments in https://github.com/rust-lang/miri/pull/945
chdir