Fix some type declarations so make check works for SPARC.

Thanks to Paul Hargrove for the report and correction. Take from master commit

open-mpi/ompi@91bec7e9dd54cdfd684ba0b2c5c2a0339f01bec4