build: remove extraneous AC_CHECK_LIB

Nowadays we use floor provided by glib