quartz: Fix calculating wide string size.