5f Localization in light actinide compounds studied by L3-edge x-ray absorption