On Developers' Self-Declaration of AI-Generated Code: An Analysis of Practices