ide: move legacy ISA/VLB ports handling to ide-legacy.c (v2)