Fix bug in cuda const string insertion