Added test for MPIX_Allgather_x()

...based off the test for MPIX_Alltoall_x(). I've also added some minor changes to fix builds/tests on my machines.