[cmake] Only build testelectrodynamic when SuperLU is available
The test has a hard dependency, and without the additional guard, building the tests fails if SuperLU is not found.
The test has a hard dependency, and without the additional guard, building the tests fails if SuperLU is not found.