assert: fix missing function in NDEBUG mode

1 job for test in 18 seconds (queued for 17 seconds)