Validating LLM-Generated Programs with Metamorphic Prompt Testing