gcc-plugins: Rename last_stmt() for GCC 14+
commit 2e3f65ccfe6b0778b261ad69c9603ae85f210334 upstream.
In GCC 14, last_stmt() was renamed to last_nondebug_stmt(). Add a helper
macro to handle the renaming.
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Cc: Thomas Meyer <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>