sensor: lis2dh: Fix gcc8 compiler warning
sensor: lis2dh: Fix gcc8 compiler warning

We get the following warning with sdk-ng:

	drivers/sensor/lis2dh/lis2dh.c:210:38: error: bitwise comparison
	always evaluates to false [-Werror=tautological-compare]

	if ((value & LIS2DH_LP_EN_BIT_MASK) == 1 && ...
                                      ^~
The test needs to be:
	(value & LIS2DH_LP_EN_BIT_MASK) == LIS2DH_LP_EN_BIT_MASK

Signed-off-by: Kumar Gala <a5e5248af4cd4f0ed8c515f61d40a6e2db46a66e@linaro.org>

Vudentz/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,ldts/zephyr,ldts/zephyr,finikorg/zephyr,finikorg/zephyr,Vudentz/zephyr,nashif/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,explora26/zephyr,explora26/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,galak/zephyr,explora26/zephyr,explora26/zephyr,finikorg/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,Vudentz/zephyr,explora26/zephyr,ldts/zephyr,Vudentz/zephyr,nashif/zephyr,galak/zephyr,GiulianoFranchetto/zephyr