R600/SI: Use scratch memory for large private arrays