kernel/generic: fix the arm gc-sections patch