Veteran Malayalam scriptwriter T Damodaran passes away