xf86drm.c, tests: fixed compiler warnings
Minor fixes to get rid of gcc warnings:
- xf86drm.c: moved declaration at the top to stop c90 compliance warning.
- tests: modeprint, modetest, proptest: used the correct type in printf.
Signed-off-by: Eleni Maria Stea elene.mst@gmail.com