Don't use headers first when checkpoints disabled.

Headers first relies on having valid checkpoints, so if checkpoints are
disabled, it needs to be disabled as well.