[Refactor] Use attributes to mark function as invalid for polly

  + Test case annotated with the new attribute
  + Modified test case to check if subfunctions are annotated


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@213093 91177308-0d34-0410-b5e6-96231b3b80d8