build: add fminf() emulation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>