A spinning particle with an anomalous magnetic moment in an external plane wave field