Rupert Grint reveals why he almost quit the Harry Potter franchise halfway through