Support rectangular tx_type coding in var-tx

Support the transform block kernel coding for rectangular
transform block size in var-tx. This integrates txk-sel with
var-tx.

Change-Id: I9a8edd84812168f56c79b78cc9af34f6304b1d54
diff --git a/av1/common/onyxc_int.h b/av1/common/onyxc_int.h
index 0462a6e..f913328 100644
--- a/av1/common/onyxc_int.h
+++ b/av1/common/onyxc_int.h
@@ -946,7 +946,6 @@
 #endif
 }
 
-#if CONFIG_VAR_TX
 // Disable array-bounds checks as the TX_SIZE enum contains values larger than
 // TX_SIZES_ALL (TX_INVALID) which make extending the array as a workaround
 // infeasible. The assert is enough for static analysis and this or other tools
@@ -962,6 +961,7 @@
 #pragma GCC diagnostic warning "-Warray-bounds"
 #endif
 
+#if CONFIG_VAR_TX
 static INLINE void set_txfm_ctx(TXFM_CONTEXT *txfm_ctx, uint8_t txs, int len) {
   int i;
   for (i = 0; i < len; ++i) txfm_ctx[i] = txs;