Make int(b'123') work properly.

int(b'123', 10) was working properly, but int(b'123) was failing.

I wasn't sure exactly how/if you'd want to fix objstr.c (it has a static is_str_or_bytes function).