The Spanish actor had been diagnosed with an unspecified ‘serious illness’