N.C. officer charged with shooting unarmed man