Target: Replace getSection().empty() with hasSection()

No functional change, just a small cleanup.

llvm-svn: 209064
1 file changed