fix vivid + overlay build problems triggered by a lttng-ust-dev update by dsiabling a specific clang warning and -pedantic in the lttng directories
(LP: #1584601). Fixes: https://bugs.launchpad.net/bugs/1584601.
Approved by Chris Halse Rogers, mir-ci-bot.