Add helper script for dual boot detection in updater-script

Change-Id: I206445464b6b5b48f7cbf274899eaae18d87e024