Stabilization of amorphous GaN by oxygen