Fixing assertion warnings from asmjit.
Adding the ret required for tail calls.
Only create the shared return block if required.