external/jni: Add argument to specify display mode id for surface creation.