layer-management: fix config for x11 backend support

* Remove DEPENDS from bbappend to allow default depends
  setting for x11 backend support.
* Add CXX_FLAGS ""-DLINUX" for selecting the proper
  platform graphic support from EGL/eglvivante.h GPU
  headers.

Signed-off-by: Adrian Alonso <aalonso@freescale.com>