implement raw pointer comparisons in librustc

mostly just for consistency, as this will work in const expressions and
without the standard library