SILOptimizer: avoid accessing the class properties if not necessary in redundant load elimination
The fix here is to just swap two bail-out conditions.
It's a NFC regarding the performed optimization, but it avoids importing class properties, which is not needed.
This is a speculative fix for rdar://problem/45806457