feat(cpufeat): add feat detection helpers

This patch adds multiple feature detection helpers, useful for
tests that need to check for the presence of those features.

Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
Change-Id: Ie6d39b9e9c8d28d0a4cd9d02350e2bedd016e45e
3 files changed