[PATCH OLK-6.6] ima: Check for ERR_PTR from dentry_path() in validate_hash_algo()