guid-tool: add --(no-)validate options
Add a `--validate' and (most importantly) `--no-validate' options to our
GUID tool.
This allows dealing with invalid GUIDs.
We validate the GUID by default to preserve previous behaviour.
Also, add a unit test.
Signed-off-by:
Vincent Stehlé <vincent.stehle@arm.com>