Fix missing osl_fmod_vvf and dual functions on Windows

Windows llvm_gen_modulus has a special exception where it doesn't generate the fmod instruction directly, so these implementations are needed.

I moved the pow functions into a macro and then used it for pow and fmod, these seem to be the only math functions that support this variation.