irq: threaded: added an init for threaded IRQs

Threaded IRQs can now also be initialized by irq_request (after the
scheduler has seen birth, ofcourse) by passing the flag
IRQ_THREADED_MASK to the flags argument (together with other flags,
ofcourse).

Signed-off-by: Michel Megens <dev@michelmegens.net>