On a class of scalar conservation laws with locally unbounded solutions