Chloroform will surely react to form HCl and dichlorocarbene. If the platinum oxide reacts at all to form diatomic oxygen in situ you will yield phosgene.
You answered your own question, though. You were missing where the HCl came from. It is from chloroform.
Look up the mechanism to dichlorocarbene formation. You will have your complete answer.