Gunathilaka granted bail in assault case