Edit DIST in moments_to_props.pro

Check if DIST is defined in HDR before screaming.