Improved electrical and surface characteristics of metal-oxide-semiconductor device with gate hafnium oxynitride by chemical dry etching