Split the HOST_NAME_MAX detection into a separate m4 macro