ffserver: put gcc attribute under proper ifdef