Implement get_irg_graph_nr in release mode