The light quark masses with an O(a)-improved action