The US has said it will send aid to famine-hit areas of Somalia controlled by the Islamist group al-Shabab.