An oil spill from a tanker has contaminated beaches in Oman, prompting environmental concerns.