[DDMD] Follow the standard pattern to get the length of an array - this allows the pattern to be detected automatically

This is part of my work on auto-porting dmd to d.