kms_rotation_crc: Make check_plane_type() static
kms_rotation_crc: Make check_plane_type() static

Clearly, someone tried to solve the following warning:
  kms_rotation_crc.c:189:6: warning: no previous prototype for ‘check_plane_type’ [-Wmissing-prototypes]

Without really understanding what was the warning about. Make
check_plane_type() static and move it before its user to get rid of the forward
declaration.

Signed-off-by: Damien Lespiau <64bd3cb94f359c1a3ce68dae5e26b40578526277@intel.com>

chenxianqin/intel-gpu-tools,erikarn/intel-gpu-tools,mv0/intel-gpu-tools,chenxianqin/intel-gpu-tools,yipdw/intel-gpu-tools,dlespiau/checkmate-test-igt,mv0/intel-gpu-tools,dlespiau/checkmate-test-igt,tiagovignatti/intel-gpu-tools,mv0/intel-gpu-tools,yipdw/intel-gpu-tools,tiagovignatti/intel-gpu-tools,erikarn/intel-gpu-tools,dlespiau/checkmate-test-igt,mv0/intel-gpu-tools,erikarn/intel-gpu-tools,tiagovignatti/intel-gpu-tools,erikarn/intel-gpu-tools,chenxianqin/intel-gpu-tools,dlespiau/checkmate-test-igt,yipdw/intel-gpu-tools,tiagovignatti/intel-gpu-tools,yipdw/intel-gpu-tools,chenxianqin/intel-gpu-tools