Added new get_irn_pinned() function