secp256k1: fix static linking order