bytes: reduce work in IndexNearPageBoundary test
bytes: reduce work in IndexNearPageBoundary test

This test was taking too long on ppc64x.
There were a few reasons.

The first is that the page size on ppc64x is 64k instead of 4k.
That's 16x more work.

The second is that the generic Index is pretty bad in this case.
It first calls IndexByte which does a bunch of setup work only to find
the byte we're looking for at index 0.  Then it calls Equal which
has to look at the whole string to find a difference on the last byte.

To fix, just limit our attention to near the end of the page.

Change-Id: I6b8bcbb94652a2da853862acc23803def0c49303
Reviewed-on: https://go-review.googlesource.com/76050
Run-TryBot: Keith Randall <8c99c3a9284e493be632950b84cd789d08ed3e9d@golang.org>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Russ Cox <5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org>

cloudflare/go,golang/go,josharian/go,CAFxX/go,golang/go,akutz/go,golang/go,codestation/go,akutz/go,codestation/go,josharian/go,Cofyc/go,nawawi/go,nawawi/go,cloudflare/go,akutz/go,golang/go,akutz/go,akutz/go,codestation/go,Cofyc/go,nawawi/go,golang/go,codestation/go,codestation/go,CAFxX/go,Cofyc/go,CAFxX/go,CAFxX/go,christopher-henderson/Go,cloudflare/go,nawawi/go,josharian/go,cloudflare/go,CAFxX/go,nawawi/go,golang/go,codestation/go,Cofyc/go,cloudflare/go,codestation/go,nawawi/go,akutz/go,josharian/go,nawawi/go,nawawi/go,Cofyc/go,CAFxX/go,josharian/go,akutz/go,akutz/go,codestation/go,josharian/go,cloudflare/go,josharian/go,golang/go,Cofyc/go,golang/go,cloudflare/go,CAFxX/go,Cofyc/go,CAFxX/go,cloudflare/go,josharian/go,Cofyc/go