implement 'm' modifier for wide scanf variants