[Mips] Remove redundant checking from the RelocationPass::isDynamic() function.

No functional changes.