Log range expression step 0 warnings at runtime

Handle warning for range expression with step 0 at runtime.
We should perhaps consider removing the compile time warning for this.
PTAL @ke-yu