Add support for GCC 13 and take patches from openwrt main repo. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>