contrib: gmp: fix thumb2 build