flash/stm32l4x: avoid using magic numbers for device ids