On the selfadjointness of Dirac operators with anomalous magnetic moment