Collective modes of a one-dimensional trapped atomic Bose gas at finite temperatures