In CG_LFuncDrawStringRepeat_x replace temp allocations with stack buffer