Just because two things sound alike does not mean they have related origins. I am reminded of this incident:
http://www.adversity.net/special/niggardly.htmI am not saying you are wrong. I am only saying that I have no idea if the writers of the TV series had any knowledge of such myths and drew upon them -- even unintentionally -- or if someone sat down and played around with sounds until they found something "alien" sounding. I had never heard of what you are talking about until you brought it up and I am fairly well read and have had middle-eastern friends. If I had any awareness of such myths prior to making my earlier post, I am sure I would have made some effort to clearly indicate it was a sci-fi reference in order to avoid confusion. As far as I knew, there was only way to interpret the word "magog".
I imagine quite a lot of Americans have no knowledge of these mythologies, which would be good reason to borrow from them as inspiration for sci-fi: It's adequately foreign and unknown that it is "alien" to the general public here and there is rich material to draw upon if you get stuck, material that is sufficiently unknown that most people won't realize you drew on anything and will think you are just really, really creative. I have heard that Japanese fiction often draws on Christian mythology in a similar manner, which makes for some misunderstanding if it later gets translated to English and marketed to the "western" world.