Kahler Anomalies in Supergravity and Flux Vacua