vsprintf: fix io/mem resource width