Transplanckian censorship and global cosmic strings