d851: move liblgderp to common

Change-Id: I98e30f2c582bd43c279c9645b708a932fa53798f