advapi32/tests: Replaced function lstrlen with strlen in condition check.