[PATCH 5.4.y 0/5] v5.4: fix build with GCC 15