US grocery retailer Safeway is voluntarily recalling some green onions because they may be contaminated with salmonella.