mesa: Fix linking on 11
11 uses gnuld by default and it doesn't support --build-id
Add a check in meson and raise the meson version to 0.46 as
cc.get_supported_link_arguments was added in this version.
Upstream already do this check.
Reported by: kib
Approved by: zeising (x11@, implicit)