Thermodynamic limitations for fullerene formation in flames