build: disable assertions in release builds

refs #2135

Change-Id: I544725f2274d0f15b55a0c8de3acb2e801a2c993