Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form Generation