Change if statement to assert
Change if statement to assert

Change-Id: I55e4ed95ee7ae45758dc69115ab8601ddd6375b6
Signed-off-by: Craig Dowell <61bd9b08c7f5e42fa7dca822789115d4a9217129@qce.qualcomm.com>

cybertanyellow/alljoyn-core,cybertanyellow/alljoyn-core,cybertanyellow/alljoyn-core,cybertanyellow/alljoyn-core,cybertanyellow/alljoyn-core,cybertanyellow/alljoyn-core,cybertanyellow/alljoyn-core