power: build barreir for POWERHAL_VARIANT

Change-Id: Ic5f9c45c3c6e7f57c0597a6cb8dcdbd87fbbf906