ikev2: fix wrong usage of BN_bn2bin()