libvo-aacenc: Only produce extradata if the global header flag is set