range.h: Add missing validity.h include