[PATCH openEuler-21.09 127/147] crypto: hisilicon/hpre - add check before gx modulo p