configure: add config option --use-libyami

preload libyami libs when --enable-libyami is used

Change-Id: I87e1cfe4158d5a268cf8d14e2cb4d891da6547df