Singularity avoidance and quantum conformal anomalies