ICU/APIC cleanup part 7/many.
Get rid of most of the dependancies on ICU_LEN, NSWI, and NHWI, by
creating a generous system standard maximum for hardware and software
interrupts in the MI sys/interrupt.h. The interrupt architecture can
then further limit available hardware and software interrupts. For
example, i386 uses 32 bit masks and so is limited to 32 hardware interrupts
and 32 software interrupts.
The name ICU_OFFSET is confusing, rename it to IDT_OFFSET, which is what
it really is.
Note that this separation is possible due to recent work on the MI interrupt
layer.
Separate the software interrupt mask from the hardware interrupt mask
in the i386 code.
Get rid of rndcontrol's 16 irq limit by creating a new ioctl to iterate
through interrupt numbers.