[WebAssembly] Define a custom segment type for function definitions.