The cups should only be connected by a plastic sleeve with some o-rings holding it together. There is no reason why you can't just keep turning the drive side and pull it out.
By the way - GXP is a SRAM thing. Shimano 24mm is called Hollowtech II and they are not compatible, as you have discovered.