xplanet: fix cspice optional dependency.

Closes #28123.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>