kbuild: move -gsplit-dwarf, -gdwarf-4 option tests to Kconfig