FoundIR: Unleashing Million-scale Training Data to Advance Foundation Models for Image Restoration