Fix ia64 compilation IS_ERR and PTE_ERR errors.