Add helper macro for interrupt handler weak definitions.