Revert "[AML] Remove dependency on libamplayer and amffmpeg"

This reverts commit e1666bcdfdd8b5403dfd5592780c26d702ed2fe9.
Revert "[Configure] Reorder libraries in configure script to prevent linker errors when linking with libsmbclient"