How You Prompt Matters! Even Task-Oriented Constraints in Instructions Affect LLM-Generated Text Detection