[PATCH 6.12 540/567] idpf: improve when to set RE bit logic