Fix possible segfault on startup
The main thread can't use `in8()` and `out8()` on startup. Move the initialisation of `port_old` to `hwaccess::init_isr()`.