implement sync_irr_to_pir

Signed-off-by: Olaf Hering <ohering@suse.de>