broadcom/compiler: check instruction belongs to current block
Check in the ldunif optimization if the current instruction belongs to current block.
These avoids again searching the instruction when current block is not correctly set, as it happened in !12339 (merged) and in !12221 (merged).