Extrapolation of critical thickness of GaN thin films from lattice constant data using synchrotron X-ray