Fix assert() for defaults namespace on host-only build

The namespaces libhalmd.mdsim.defaults_* exist only for the gpu variant
of the binning and neighbour module. Therefore, disable the asserts when
the gpu is disabled.

The issue has been detected by the nightly test runs:
http://my.cdash.org/testDetails.php?test=11045293&build=472534