Local magnetism in granular iron/iron oxide nanostructures by phase- and site-selective x-ray magnetic circular dichroism