Real-time predictive control of photoresist film thickness uniformity