Add `const` keywords to functions

This patch modifies the function interfaces for the buffer to get
constant data as parameter.
Fix: Adapt interfaces in background_surface.c
Fix: Adapt interfaces in wayland_buffer.c
Merge pull request #171 from matthiasbeyer/add-const_keywords

Fix: missing const modifier in interface functions for buffer type