platform-specific directory operations separated into hal-posix-dir and hal-win-dir gems. this allows mruby-dir to support embedded platforms and simplifies platform-specific implementations. Co-authored-by: Claude <noreply@anthropic.com>