linker: restore prelink support

Prelink support is required to load old vendor binary blobs
on many devices properly

This commit partially reverts 4688279db5dcc4004941e7f133c4a1c3617d842c

Picked from android-4.3. This solves Baseband issue on legacy devices.

Change-Id: Ic32ed1a5f851c0d03951ad0ef16ec51942ba033f