Transition from thermal to rapid expansion in multifragmentation of gold induced by light relativistic projectiles