cursor: style refactoring
xcursor.c
has been copied over from Xorg and uses a different code style. This makes it painful to work with the code and implement future features like lazy cursor loading.
Update the code style to match libwayland. No functional change.