[wl-kmod] Rework patch for kernel >= 4.12 - thanks to Tim Thomas