icache: Fix one-off in tag-valid bit calculation

The tag valid bit position was off by one bit for the
2nd way, making that way never valid.
dcache: Fix one-off in tag-valid bit calculation

The tag valid bit position was off by one bit for the
2nd way, making that way never valid.