makefile: fix linker flags
makefile: fix linker flags

Moving linker flags in Makefile to after source files. This is
required to compile with gcc --as-needed option. See also
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed

antmicro/zynq-mkbootimage,antmicro/zynq-mkbootimage