stm32mp1: add check for presence of environment in boot device