Fix a bug with SIC OEP for complex wavefunctions.

Status Job ID Name Coverage
  External
passed Octopus Buildbot

pending Octopus Buildbot
pending Octopus Buildbot
pending Octopus Buildbot
passed Octopus Buildbot