wine: add optional libgsm dependency

Closes #21932.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
wine: sort deps, style nit