UBI sensor initialization timeout

Port of the UBI initialization timeout introduced by Shadow for UBI hands.
Be aware this pull request also adds pr2grant in sr_edc_launch which you might not want. Don't hesitate to remove it.