Fix some --without-hwloc compile errors.  Also remove one
assigned-but-not-used variable assignment.