ast2firm: Make get_ir_type() static.