Fix compile error introduced by ag/842950.

BUG=25756419

Change-Id: I8ac270946b3915c02b21a07cf0a9c5b62d69effc
diff --git a/jni/com_android_mtp_AppFuse.cpp b/jni/com_android_mtp_AppFuse.cpp
index eb9e8eb..cde28fc 100644
--- a/jni/com_android_mtp_AppFuse.cpp
+++ b/jni/com_android_mtp_AppFuse.cpp
@@ -45,7 +45,7 @@
 // The request size is bounded by the maximum size of a FUSE_WRITE request
 // because it has the largest possible data payload.
 constexpr size_t MAX_REQUEST_SIZE = sizeof(struct fuse_in_header) +
-        sizeof(struct fuse_write_in) + std::max(MAX_WRITE, MAX_READ);
+        sizeof(struct fuse_write_in) + (MAX_WRITE > MAX_READ ? MAX_WRITE : MAX_READ);
 
 static jclass app_fuse_class;
 static jmethodID app_fuse_get_file_size;