[PATCH] lib: Move selection of SPL hash algorithms from common/