fix misc compiler warnings in the ia64 build

From: Christoph Hellwig
Date: Mon Aug 12 2019 - 02:55:29 EST


Hi Tony,

this little series fixes various warnings I see in ia64 builds.