Fixed warnings showing row/column number as zero in some cases

Example test case that it fixes:

const NOPE = False;
procedure Test;
var I: Integer;
begin
  I := 1;
  //This line results in a warning with 0 for row/column: [Warning] (0:0): Calculation always evaluates to False
  if (I = 1) and NOPE then
    I := 2;
end;