vsprintf: add %pR support for IRQ and DMA resources