lms: Makefile.am: Reorder params to fix link issue

It seems the order in which static code and -lfoo is passed to the
linker matters.

This commit is a lms specific follow-up of commit
2a8183bdf0dfd5c5a59c3933fb932e827ddf811c.

Change-Id: I59c20d268ecac4c22689124165c47295bd9176d4
1 file changed