Gamma‐ray burst afterglow emission with a decaying magnetic field