Inconsistent Tokenizations Cause Language Models to be Perplexed by Japanese Grammar