regulator: Fix warning with CONFIG_BUG disabled