Former Newcastle United boss Sam Allardyce has taken aim at Anthony Gordon's attitude as the winger looks set to leave St James' Park.