Fix setting last compacted key in the wrong level for LCS
patch by Jiri Horky; reviewed by jbellis for CASSANDRA-6284
merge from 2.0
move setting lastCompactedKey to before the return-if-nothing-added