configure: add -lrt to libavutil when needed for nanosleep