t/zbd: fix max_open_zones determination in tests