[PATCH 4.14 17/24] ARM: spectre-v1: add array_index_mask_nospec() implementation