The sentence that uses a noun clause as its subject is:
"Whoever finds the treasure gets to keep it."
In this sentence, "Whoever finds the treasure" functions as the subject of the sentence. The other sentences do not have noun clauses as their subjects.