get_irn_generic_attr supports const ir_node* now