X-ray magnetic circular dichroism at Os L-edge under multiple extreme conditions in SmOs4Sb12