Avoid overflow for the page counts.

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week