Backported thrift warning fixes, bump thrift submodule hash

Also removed a couple more not-needed-by-hhvm dirs from cmake