Tom Brady took a mid-game break to give his hat to a young fan who had beaten brain cancer