I think you are right about it being part of the cooling system. I am fairly sure that the broken part with the studs that the housing is fixed to is part of a cylinder block but I’m surprised how small the round hole is (given the size of the corresponding hole in the block).