Consistently use ARRAY_OFFSET_*INVALID macros.

Not all the ad-hoc ones check for integer overflow correctly. Consistently use
the same check everywhere.

Change-Id: I913b7de792406d9819a6830cc21ec500ddceff6e
1 file changed