Fix copyright check in admin/uncrustify.sh

The automatic copyright year check didn't consider files that were also
uncrustified.  Also removed some extra code (that had no effect) from
the script that looks like incorrectly merged or pasted.

Also fix incorrect attribute for thread_mpi/CMakeLists.txt.

Part of #818.

Change-Id: I80ce1b936fa9b77a94eb3dfe8fcff0490a886f42