The reason it would be pronounced gashem is because it is the last word before a pause. In Lashon Kodesh any word, or even a name, with a segol under its first letter, receives a kamtaz under that ...