trinity-functions.eclass: use get_libdir instead of lib
trinity-base/ksmserver-9999: mask hal use due to it causes FRBFS