Don't set autosuspend_inited to true if initialization failed, as it will cause an exception later

Change-Id: I8d7846095877564904dc2ddc0b690d64293d4998