btavdtp: fix An unconditional 'break' within a loop found by PVS Studio (V612)