Detect lo as a valid loopback interface.

Closes #12811