The palace says the cancer is not related to the king’s recent treatment for a benign prostate condition.