avcodec/flacdec: Return error code instead of 0 for failures