Add warn_unused_result to empty() on various containers.

empty() doesn't actually empty out the container, making this a common typo.