fix lua get_live_hist, broken in changeset 2799
make live_histogram_read_y not use global