[PATCH 6.1 004/149] tpm: Add a helper for checking hwrng enabled