[Stackmaps] Replace the custom ConstantPool class with a MapVector.