make CHECK macro calls safer for multistatement operation; dont disable DEBUG macros on non-OpenWRT platforms
Merge pull request #102 from opentechinstitute/debug-check-fixes

make CHECK macro calls safer for multistatement operation; Tested by @jheretic.