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 v4.19.247 by commit 4ab7e453a3ee88c274cf97bee9487ab92a66d313. For more details please see the references link.