Stress and density of defects in Si‐doped GaN