Mirrors recent change to onsidering all marks combining chars instead of only the marks with a non-zero combining class
Generated function is more efficient than the implementation from wcwidth9 and also makes it easy to update when the unicode standard changes.