wasm: Use 'select' instruction for max/min

Rather than using blocks and control flow to check which operand is the maximum or minimum,
we use wasm's `select` instruction which returns us the operand based on a result from a comparison.
This saves us the need of control flow, as well as reduce the instruction count from 13 to 7.
ac873367b9Luuk de Gram committed on 4/5/2022, 7:56:25 PMparent5fafcc2
3 files changedLine totals unavailable