dataclass: Add support for const fields using Literal[T]
Following up on https://github.com/koxudaxi/datamodel-code-generator/pull/2475
applying the same change to the dataclasses.dataclass writer.
That is, represent `"const": <value>` fields as `Literal[<value>]`.