Revert "build: compile with -ffunction-sections, -fdata-sections and LTO"
This reverts commit a51413988caaff7001f47c8a62bff11a72ca48bc.
It causes assertion failures in ld and requires changes to linked libraries,
so drop this for now.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>