Prehistoric humans in Africa may have avoided areas infested with malaria-spreading mosquitoes, a new study suggests.