[PATCH 1/2] Makefile: Extend noinline workarounds for LTO and -O2 to gcc 12