Use correct mref type in lockToSynchronized patch for INVOKEVIRTUAL

Signed-off-by: Ross Allan <rallanpcl@gmail.com>