md5: Fix cross-build after c2870e576bd2
On macOS and Linux the current set of headers do not end up pulling in
sys/param.h, causing MAXPATHLEN to not be defined and the build to fail.
(cherry picked from commit cab31e0e216c7defefd4aba14693ba2252ea7308)