VCL: Remove unused and deprecated debug check function

Change-Id: I3fcf630b8a0ef5be0d98ddc11a746e07885bae53