These residues are highly conserved among MHC I's and are thought to confer a "universal peptide binding capability."
Amino acid 8 (Gly) main chain O is close enough to the N of Trp147 to form an H bond, but the N is bonded to water instead (not shown in crystal structure). There are also hydrophobic contacts between HLA and the peptide; you can view a summary by following the link. Look next at the central a1a2-peptide contacts...