Fix string formatting for string enums (#16555)
Fixes #7563
Inside `check_str_format_call` method, it checks if expression of
`format` method call is an Enum member and it takes Literal value of
that Enum member to check the `format` call arguments, if so.