configure.ac,src/img.c: Use lround() instead of round(), and make
the tests around whether we use the library function or the our
fallback implementation saner.
src/printwx.cc: Fix segfault in "File->Export" if an export format
isn't stored in ".aven".