Structural evolution and skyrmionic phase diagram of the lacunar spinel GaMo4Se8