Fix libav compile for sh4 and gcc 4.8