avcodec/cfhdenc: free alpha buffer on closing