Protect against no GC information

The call to getLastGcInfo() can return null if no garbage collection has happened yet. This change fixes some NullPointerExceptions I was getting trying to run the test while building the gcflow JAR on an OS X machine running Java 7.