The anomaly cancellation mechanism in N=1, D=4 supergravity and distorted supergravity algebra with Chern-Simon forms