use getLVForDecl for consistency.

No intended functionality change.