Assorted code cleanups
- Xrandr.h: remove misleading comment for
XRRGetScreenSizeRange()
- XRRGetProviderInfo: Remove unneeded
ProviderInfoExtra
- Variable scope reductions as recommended by
cppcheck
- Remove unnecessary casts of return values from
malloc()