drm/plane: Move range check for format_count earlier
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.10.121 by commit b5cd108143513e4498027b96ec4710702d186f11. For more details please see the references link.