[package] fix libmad compilation on mips with gcc-4.4 (#6159), patch from OE