Duality for image and kernel partition regularity of infinite matrices