Bug 866471 - fix broken assert implementation. r=bustage