Core/Maps: Apply const-correctness to GridMap::loadData()