Build fixes for struct pt_regs removal