[LDR] Don't dereference a possible nullptr on a malformed forwarded import