HashMap, HashSet: Fix broken capacity constructors