Add tpl_bsize in TplParams

Added tpl_bsize_1d in TplParams and made tpl block size used in tpl
motion estimation configurable. Resolved places that used a hard-coded
16x16 tpl block size. This CL wouldn't cause any bitstream change.

Change-Id: I80521783c81820b4aaf72ce1c83356fc62546fe5
(cherry picked from commit b17bfa450e84ec1639cf50a1acffde0aa83354f6)
diff --git a/av1/encoder/encodeframe_utils.c b/av1/encoder/encodeframe_utils.c
index d4029e5..5c9ac9d 100644
--- a/av1/encoder/encodeframe_utils.c
+++ b/av1/encoder/encodeframe_utils.c
@@ -793,7 +793,7 @@
   // TPL store unit size is not the same as the motion estimation unit size.
   // Here always use motion estimation size to avoid getting repetitive inter/
   // intra cost.
-  const BLOCK_SIZE tpl_bsize = convert_length_to_bsize(MC_FLOW_BSIZE_1D);
+  const BLOCK_SIZE tpl_bsize = convert_length_to_bsize(tpl_data->tpl_bsize_1d);
   const int step = mi_size_wide[tpl_bsize];
   assert(mi_size_wide[tpl_bsize] == mi_size_high[tpl_bsize]);