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

Even so can't we reuse the same compact buffer?  Also should the semantic be to return null or an empty buffer?