The pion structure function in a constituent model