A Gary Glitter song has sparked a row after it reportedly appeared on a GCSE music assignment as suggested listening for students.