[LICM] Avoid repeating expensive call while promoting loads. NFC