i965/fs: Move total_scratch calculation into fs_visitor::run().