Move more stuff from modules.llvm to modules.utils

Move some helpers that aren't directly dealing with LLVM knowledge from
modules/llvm.py to modules/utils.py.

Change-Id: I792286b06a99852facc7bc77b7c39ed67988e18f
4 files changed