Disable module on WebAssembly


This does not compile on WebAssembly and does not really make much
sense there, since the serial port is not accessible from the
browser sandbox.

Change-Id: I290fd89e4e97be134de3c26391e2f54a57062299
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
commita61ed3bce7df1ec56712d874e23a7ec95ad141ab
parentc5ffb2ab8f546c8d7c3e88760c2666d6d185ced0
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeThu, 27 Sep 2018 06:49:49 +0000