[Linux-stable-mirror] [added to the 4.1 stable tree] ima: fix hash algorithm initialization