[lld][test] fix -Wreturn-type error