Nonlinear supersymmetry, quantum anomaly and quasi-exactly solvable systems