Fix ut-job not zero-initializing scratch array.

(cherry picked from commit 12d9cce8b1fef0c8577e39abb921d28842262946)