fix: fix build with clang-16

Replace `-fsanitize=memtag` with `-fstanitize=memtag-stack` because
`-fsanitize=memtag` implies `-fsanitize=memtag-global`, which is only
supported on Android targets (see
https://developer.arm.com/documentation/101754/0622/armclang-Reference/armclang-Command-line-Options/-fsanitize---fno-sanitize).

Remove `noreturn` qualifier from function pointer type. It is not
accepted on function pointers from clang-16 onwards (see
https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html#bug-fixes-to-attribute-support).

Change-Id: I47cd04c662b3b2956d584b32f13d29dd7a57c3e6
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/docs/getting_started/prerequisites.rst b/docs/getting_started/prerequisites.rst
index 5fd04ac..2b1f3f4 100644
--- a/docs/getting_started/prerequisites.rst
+++ b/docs/getting_started/prerequisites.rst
@@ -17,13 +17,13 @@
 
 .. code:: shell
 
-   https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6/clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz
+   https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.4/clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04.tar.xz
 
 - For a AArch64 Ubuntu host,
 
 .. code:: shell
 
-   https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6/clang+llvm-15.0.6-aarch64-linux-gnu.tar.xz
+   https://github.com/llvm/llvm-project/releases/download/llvmorg-16.0.4/clang+llvm-16.0.4-aarch64-linux-gnu.tar.xz
 
 .. note::
 
@@ -39,7 +39,7 @@
 
 .. code:: shell
 
-   PATH=<toolchain_dir>/clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04/bin:$PATH
+   PATH=<toolchain_dir>/clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04/bin:$PATH
 
 Dependencies
 ------------
@@ -101,4 +101,3 @@
 .. _Sphinx: http://www.sphinx-doc.org/en/master/
 .. _Poetry: https://python-poetry.org/docs/
 .. _pip: https://pip.pypa.io/en/stable/
-