move resend_cmd under USING_DVB where all its uses are