zig reduce: add "delete unused globals" transform

While walking the AST looking for reductions, notice if any globals are
unreferenced, and if they are, add a transformation for removing the
global.
a2f4adbd19Andrew Kelley committed on 11/4/2023, 4:31:32 AMparent6aedddf
3 files changedLine totals unavailable