[S390x] Optimize various elliptic curve functions