Remove libdri2 and libXpm from Wayland build.

Change-Id: Ibb12c5d305e87d8a0f345b70187a003bd9244022
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>