Improve lucetc/wasi-sdk integration

We need to leave some rough edges to our lucetc/wasi-sdk integration in order to get nightly builds based on ESR 78 going as soon as possible. They need to get fixed for the final toolchain, though.

Edited by morgan