Revert "fdo#63154 Remove unused solar.h reference in sw."

sal_uIntPtr should only be used to represent pointers cast to integers.

This reverts commit 067d08029384af6e620f0fc48e31ff2a740e1fc8.