flash/stm32h7x: use proper data type (bool) for has_dual_bank