parseint: allow automatic base detection via 0[box] prefixes.