[DDMD] Replace sizeof hacks with strlen