Causal Prompting: Debiasing Large Language Model Prompting based on Front-Door Adjustment