Throw a TypeError instead of a SyntaxError on invalid UUIDs.

Matches https://github.com/WebBluetoothCG/web-bluetooth/pull/298.

Review-Url: https://codereview.chromium.org/2380843002
Cr-Commit-Position: refs/heads/master@{#421745}
9 files changed