Before ‘Mandy’ and ‘Copacabana,’ Barry Manilow wrote jingles for Band-Aid and State Farm—including one that earned him just $500.