Apply kernel patches