rust::driver: remove accidental double freevar calculation
auto merge of #6947 : Blei/rust/fix-dup-freevars, r=bstrie