Add txb hashing for intra blocks

On speed 1 keyframes, improves encoding speed by 7% with 0.05%
compression drop.

Enabled it as a speed feature for speed 1 keyframes. I'll do
more tests to see if it's useful on interframes.

Change-Id: I04f27464c618af05293002eb6ba445e5bb7fc406
diff --git a/av1/encoder/speed_features.h b/av1/encoder/speed_features.h
index 87c4337..a855202 100644
--- a/av1/encoder/speed_features.h
+++ b/av1/encoder/speed_features.h
@@ -549,6 +549,10 @@
 
   // flag to allow skipping intra mode for inter frame prediction
   int skip_intra_in_interframe;
+
+  // Use hash table to store intra(keyframe only) txb transform search results
+  // to avoid repeated search on the same residue signal.
+  int use_intra_txb_hash;
 } SPEED_FEATURES;
 
 struct AV1_COMP;