wasm: make symbol indexes a non-exhaustive enum

This introduces some type safety so we cannot accidently give an atom
index as a symbol index. This also means we do not have to store any
optionals and therefore allow for memory optimizations. Lastly, we can
now always simply access the symbol index of an atom, rather than having
to call `getSymbolIndex` as it is easy to forget.
5ef8321338Luuk de Gram committed on 2/29/2024, 2:24:07 PMparentc99ef23
7 files changedLine totals unavailable