[PATCH 5.4 090/134] ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()