Remove all unnecessary HAVE_CONFIG_H

There is no reason to check for HAVE_CONFIG_H other than
in public headers. Left it in the one public header which used
it (gromacs/math/vec.h). Also didn't change thread_mpi.

Change-Id: I15237d3d2dc35a4087a04fc2fbde4a3cb05d2e59