samba: clean up unused configure opts
samba: link with -fwhole-program

samba_multicall before: 9.6M after: 3.3M. 290% size win
xbmc: link with -fwhole-program