Allow override of device asserts, including multi-device support.

Change-Id: Icd10de924f2b88168912c9575174cebf6b0104ba