sphde: Fix build issue on powerpc64le

This patch fixes a sphgtod_t build issue where libsphgtod.a relies
on symbols at libsphde.la and it appeards before libsphde.la on link
command. It also cleans some compiler warnings on sphgtod_t.