net/ntp: Reverse check for libmd and libmd5
When www/libwww is installed, it provides an incompatible libmd5
resulting ntp using libmd5 instead of libmd, breaking the build.
Reversing the order in which libmd and libmd5 are checked circumvents
this problem.
PR: 293949
MFH: 2026Q1