r382: similar treatment in bwa-sw (see r381)