remove assert syntax

assert is not a good tool for checking common mistakes, but could be
used test conditions that `should never happen` (there're many talks
about it)

Change-Id: Iccf9710008293465bb9bb59e65f0ed77d7910688
Merge "remove assert syntax"