ECSignature: avoid multiply push/unshift operations