Fix typo (xgcontext/xgc) and trailing whitespace

It should be `xgcontext`: `xgc` is an enumerator.