BERLIN (Reuters) - A sharp rise in private consumption more than compensated for stubborn weakness in investment, helping the German economy post modest growth in the third quarter and avoid recession, data showed on Tuesday.