Perf: use host function to verify legacy revocation document

The verification of legacy revocation document embed a full ed25519 lib in the wasm runtime, we should use host function instead to verify the signature on the host side