compositor: Fix buggy snprintf that sets module path
compositor: Fix buggy snprintf that sets module path

If the MODULEDIR string contains '%', then
    snprintf(path, sizeof(path), MODULEDIR "/%s", name);
does not do what you want.

Signed-off-by: Chad Versace <a557f7f75bf28dc19ac99107f5cc7cd6b3fbdb1a@linux.intel.com>

sir-murray/weston,sir-murray/weston,jonnylamb/weston,mchalupa/weston,jonnylamb/weston,Fantu/compositor-spice,Gnurou/weston,xorgy/weston,giucam/weston,Tarnyko/weston-xdg_surface_present,eyolfson/weston,udoprog/weston,giucam/weston,Gnurou/weston,kwm81/weston,Tarnyko/weston-xdg_surface_present,krezovic/weston,Fantu/compositor-spice,kwm81/weston,Fantu/compositor-spice,mchalupa/weston,xorgy/weston,udoprog/weston,eyolfson/weston,krezovic/weston