kbuild: avoid conflict between -ffunction-sections and -pg on gcc-4.7