Simplifying test_log2 to use floorl and similar only with gcc.