stm32l4x: fix incorrect device id mask