targets/egl-static: move the common LDFLAGS into AM_LDFLAGS