HELSINKI (Reuters) - Finland's Nokia on Thursday said it has agreed to buy small U.S. company Medio Systems for its navigation unit HERE.