optimize SYSROOT_PREFIX rewriting in *.la files

Tested on an already builded openelec, It takes 0.7seconds instead of 3.6seconds