[PATCH 4.15 080/163] nospec: Move array_index_nospec() parameter checking into separate macro