math: move x86_64 (l)lrint(f) functions to C with inline asm