Role of threading dislocations in strain relaxation during GaInN growth monitored by real-time X-ray reflectivity