Update attr.c

Wow, this was the best infinite loop ever! It's because GSI_NEW_STMT, we always get to the return  statement again TAKE A BUNCH OF MEMORY AND CRASH THE COMPUTER (i had to restart).