Clean up base64states

Clean up the alignment a bit and also make the first one just return 0
to signify that it's invalid, rather than having some data which looks
like it might be useful when it isn't.