Magneto-optical effects in plasmonic nanostructures with nonuniform magnetization