Bug 863788 - move checking for haveDumpedScreen into dumpScreen; r=jmaher