Amiga: Emulate DIWHIGH register for ECS machines, reduce some code
duplication.