Fix bug in mode assignment and intra mode border availability check.

First 3 8x8 blocks of vp90-02-size-64x64.webm decode and reconstruct
correctly now. The fourth block has a correct Y/V plane, but U has a
slight DC problem.