Spatially-resolved X-ray Absorption Near-edge Spectroscopy of Silicon in Thin Silicon-oxide Films