Vortex generation in protoplanetary disks with an embedded giant planet