[SPARK-3861][SQL] Avoid rebuilding hash tables for broadcast joins on each partition

Sorry, I mean for each row in stream side, will create a `CompactBuffer` instance if it finds a matched row in build side, this probably too heavy.