Add a variable in the spirit of ARCH_ARM_HIGH_OPTIMIZATION_COMPAT for devices like grouper

Change-Id: I1a520d47f252351adca8ea6d1243489cc32d930d