Some OSL_ENSURE -> assert

Change-Id: Idd165c4a3083e1d4d8d1d16c663c31653c108702